package com.zdp.contentcenter.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author sesshomaru
 * @date 2020/9/17 23:20
 *
 * feign 脱离ribbon 单独使用
 *
 */
@FeignClient(name = "baidu", url = "http://www.baidu.com")
public interface TestBaiduFeignClient {

    @GetMapping("")
    public String index();
}
